package com.lh0811.forge.pserv.uacs.api.api;

import com.lh0811.forge.pserv.uacs.api.param.UserRealNameAuthenticationParam;
import com.lh0811.forge.pserv.uacs.api.vo.GetDepartmentInfoVo;
import com.lh0811.forge.pserv.uacs.api.vo.GetPlateUserVo;
import com.lh0811.forge.pserv.uacs.api.vo.GetTenantInfoVo;

public interface UacsOpenApi {
    // 获取用户信息
    GetPlateUserVo getUserInfoById(Long userId) throws Exception;

    // 根据证件号获取用户信息
    GetPlateUserVo getUserInfoByIdCardNo(String idCardNo) throws Exception;

    // 获取租户信息
    GetTenantInfoVo getTenantInfo(Long tenantId) throws Exception;

    // 获取组织机构信息
    GetDepartmentInfoVo getDepartmentInfo(Long departmentId) throws Exception;

    // 用户实名认证
    void userRealNameAuthentication(UserRealNameAuthenticationParam param) throws Exception;

    // 为用户保存手机号信息
    void saveUserPhoneForCurrentUser(String phone) throws Exception;
}
